/*
 * match.c (part of p8.c)
 *  
 *
 *  Created by Shang-Ju Chen on 3/5/11.
 *  
 *
 */

void
match( void )
{
	if (row < 37)
	{
		top -= subtop[row];
	}
	
	symbol[top] = sigma = newsigma[row] + 400;
	cli = newsigma[row] + 27;
	
	if(row == 0)
	{
		mode[top] = (char)0;
	}
	else if(row == 21)
	{
		aux[top] = aux[top+1];
		mode[top] = (char)modes;
	}
	
	if(code[row])
	{
		gencode();
	}
}
